Strip Leading Symbol
(10 actions, 7 KB)
0 Match Text
^.
in
[Shortcut Input]
»
1 Get Name of Emoji in
[0 Matches]
»
2 If
[1 Name of Emoji]
has any value
3 Run Shortcut
Remove Emojis
Input
:
[Shortcut Input]
Workflow
:
{ "workflowIdentifier": "7452A0C9-F124-4E7C-8219-75EA9B64B012", "workflowName": "Remove Emojis", "isSelf": false }
4 Otherwise
5 Get Text from
[Shortcut Input]
6 End If »
7 Replace Text
^(?!\w)\S*\s*
with
in
[6 If Result]
»
ReplaceTextRegularExpression
:
true
8 Trim Whitespace from
[7 Updated Text]
»
9 Stop and Output
[8 Updated Text]